package com.spark.invoicings.entity;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;

import java.math.BigDecimal;
import java.io.Serializable;
import java.util.Date;
import lombok.Data;

/**
 * 款项账户表
 *
 * @author sunyan
 * @email sunyan@gmail.com
 * @date 2024-06-26 16:49:46
 */
@Data
@TableName("t_account")
public class Account implements Serializable {
    private static final long serialVersionUID = 1L;

    /**
     *
     */
    @TableId
    private Integer accountId;
    /**
     * 账户名称
     */
    private String accountName;
    /**
     * 收款总额
     */
    private double totalReceived;
    /**
     * 付款总额
     */
    private double totalPaid;
    /**
     * 账户初始余额
     */
    private double initialBalance;
    /**
     * 账户余额
     */
    private double currentBalance;

}
